/* 
    Created on : 20/08/2014, 16:35:47
    Author     : Davidson Alencar
*/
@mixin font-face-roboto($file-name, $weight, $style) {
  $path-fonts: "../fonts/roboto";
  @font-face {
    font-family: "roboto";
    src: url("#{$path-fonts}/#{$file-name}.eot");
    src: url("#{$path-fonts}/#{$file-name}.eot?#iefix")
        format("embedded-opentype"),
      url("#{$path-fonts}/#{$file-name}.woff") format("woff"),
      url("#{$path-fonts}/#{$file-name}.ttf") format("truetype"),
      url("#{$path-fonts}/#{$file-name}.svg#roboto") format("svg");
    font-weight: $weight;
    font-style: $style;
  }
}

@include font-face-roboto("roboto-thin", 100, normal);
@include font-face-roboto("roboto-thinitalic", 100, italic);
@include font-face-roboto("roboto-light", 300, normal);
@include font-face-roboto("roboto-lightitalic", 300, italic);
@include font-face-roboto("roboto-regular", 400, normal);
@include font-face-roboto("roboto-italic", 400, italic);
@include font-face-roboto("roboto-medium", 500, normal);
@include font-face-roboto("roboto-mediumitalic", 500, italic);
@include font-face-roboto("roboto-bold", 700, normal);
@include font-face-roboto("roboto-bolditalic", 700, italic);
@include font-face-roboto("roboto-black", 900, normal);
@include font-face-roboto("roboto-blackitalic", 900, italic);

/* 
    Created on : 20/08/2014, 17:35:48
    Author     : Davidson Alencar
*/
@mixin font-face-opensans($file-name, $weight, $style) {
  $path-fonts: "../fonts/open-sans";
  @font-face {
    font-family: "open sans";
    src: url("#{$path-fonts}/#{$file-name}.eot");
    src: url("#{$path-fonts}/#{$file-name}.eot?#iefix")
        format("embedded-opentype"),
      url("#{$path-fonts}/#{$file-name}.woff") format("woff"),
      url("#{$path-fonts}/#{$file-name}.ttf") format("truetype"),
      url("#{$path-fonts}/#{$file-name}.svg#open+sans") format("svg");
    font-weight: $weight;
    font-style: $style;
  }
}

@include font-face-opensans("opensans-light", 300, normal);
@include font-face-opensans("opensans-lightitalic", 300, italic);
@include font-face-opensans("opensans-regular", 400, normal);
@include font-face-opensans("opensans-italic", 400, italic);
@include font-face-opensans("opensans-semibold", 600, normal);
@include font-face-opensans("opensans-semibolditalic", 600, italic);
@include font-face-opensans("opensans-bold", 700, normal);
@include font-face-opensans("opensans-bolditalic", 700, italic);
@include font-face-opensans("opensans-extrabold", 800, normal);
@include font-face-opensans("opensans-extrabolditalic", 800, italic);
